package com.cjy.service.impl;

import com.cjy.dao.UserInfoDao;
import com.cjy.entity.UserInfo;
import com.cjy.service.UserInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author Cheng JiYe
 * @description:
 * @date 2021/4/3 20:07
 */
@Service
public class UserInfoServiceImpl implements UserInfoService {
  @Resource UserInfoDao userInfoDao;

  @Override
  public UserInfo findByUsername(String username) {
    return userInfoDao.findByUsername(username);
  }
}
